#include "sqqueue.h"

int main ()
{
    Psqueue queue;

    int i;
    queue = createEmptyQueue(20);
    
    if (queue != NULL)
    {
        for (i = 0; i < 12; i++)
        {
            enqueue(queue, 'a'+i);
            printQueue(queue);
        }
        dequeue(queue);
        printQueue(queue);
        dequeue(queue);
        printQueue(queue);
        dequeue(queue);
        printQueue(queue);
        enqueue(queue, '1');
        printQueue(queue);
        enqueue(queue, '2');
        printQueue(queue);
        enqueue(queue, '3');
        printQueue(queue);
        enqueue(queue, '4');
        printQueue(queue);
        destroy(&queue);
    }
    return 0;
}
